import http from '../http_request.js'; //引进requst方法

export const licenseupload = (data) =>{  //上传营业执照
	return http.imguploadFile('company/upload',data)
}

export const companyedit = (data) =>{  //修改(保存)公司信息
	return http.postrequest('company/information',data)
}

export const companysearch = (data) =>{  //查询公司信息，搜索()
	return http.postrequest('company/info',data)
}

export const companyapply = (data) =>{  //申请加入公司
	return http.postrequest('company/apply',data)
}

export const applyapyinfo = (data) =>{  //申请加入公司
	return http.postrequest('apply/apyinfo',data)
}

export const companyprocess = (data) =>{  //同意(不接受)加入公司
	return http.postrequest('company/process',data)
}

export const companyex = (data) =>{  //退出公司
	return http.postrequest('company/quit',data)
}

// export const licenseupload = (data) =>{  //更换(转移)企业管理员
// 	return http.postrequest('company/change_admin',data)
// }

export const conpanylist = (data) =>{  //获取公司列表
	return http.postrequest('company/list',data)
}
export const conpanyUlogs = (data) =>{  //查询某个访客访问公司记录
	return http.getrequest('company/ulogs',data)
}

export const deptjreport = (data) =>{  //上报申请
	return http.postrequest('dept/jreport',data)
}

export const deptjstatus = (data) =>{  //申请状态
	return http.postrequest('dept/jstatus',data)
}

export const deptjrefuse = (data) =>{  //不接受加入部门
	return http.postrequest('dept/jrefuse',data)
}







